package com.manage.service;

import com.manage.pojo.Housing;
import com.manage.pojo.ResultData;

import java.util.List;

public interface HousingService {
    //分页查询
    public ResultData selectByPage(String page, String limit);
    //删除
    public ResultData removeOneByHid(String hid);
    //添加
    public ResultData addHousing(Housing housing);
//批量删除
    ResultData deleteAllEmp(List<Housing> empList);
//编辑展示
    ResultData findOne(String hid);
//展示修改
    ResultData updateEmp(Housing housing);
    //excel批量导入
    ResultData addHousingList(List<String[]> data);
    //导出excel
    List<String[]> getData();
//搜索
    ResultData searchAll(String page, String limit, String hname, String hhiredate);
}
